package com.xian.cloud.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author: xlr
 * @Date: Created in 下午1:01 2019/1/19
 */
@TableName("sys_config_sourse")
@Data
public class ConfigSourseEntity extends Model<ConfigSourseEntity> {

    @TableId
    private Long id;

    private String code;

    private String value;

    private String name;

    private String description;

    @Override
    protected Serializable pkVal() {
        return getId();
    }
}
